package com.twenty.seven.demo.demo.jpa;

import com.twenty.seven.entity.User;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.io.Serializable;

/**
 * @Author 001
 * @Date 2020/1/8 16:25
 * @TODO
 **/
public interface UserJpa extends JpaRepository<User, Long>, JpaSpecificationExecutor<User>, Serializable {

    /**
     * ds
     * @param id
     * @return
     */
    User findUserById(long id);
}
